import React from 'react'
import ReactDOM from 'react-dom'
import mirror, {actions, connect, Link} from 'mirrorx'
import { FormattedMessage} from 'react-intl'

class App extends React.Component {
  constructor (props) {
    super(props)       
        
        this.policyId = T.urlQuery('id')
	}

  componentDidMount () {

  }

  render () {
    return (<div className='tac success-page mb30'>
      <div className='success-wrap'>
        <img src='/assets/images/success.png' />
      </div>
      <div className='f36'>
        Success
      </div>
      <div className='mt30 fc9 f30'>
          <FormattedMessage id='order_number' defaultMessage='订單號' />：{this.policyId }
      </div>
      {/* <div className="btn-div">
            <div className="page-btn-3 f28" style={{marginTop:'30px'}} onClick={()=>actions.routing.push({pathname:"/product-list-poc"})}>
            <FormattedMessage id='back_home' defaultMessage='返回首頁'/>
            </div>
        </div> */}
</div>)
  }
}

export default App
